import abstemplate.AbstractGate;
import gate.Key;
import gate.SimpleDoor;
import people.Man;

/**
 * @Author buyee
 * @Date 2022/7/1 下午6:08
 */
public class Application {
    public static void main(String[] args) {
        SimpleDoor simpleDoor = new SimpleDoor();
        Man man = new Man("小咪", simpleDoor);
        Key key = new Key("螺旋钥匙");
        man.useKey(key);
    }
}
